#ifndef OS_TASK_H_
#define OS_TASK_H_

#include "stdint.h"
#include "main.h"

void Flash_Init(sub_control_flash_t *flash , const void *default_flash);

#ifdef __cplusplus
extern "C" {
#endif

    uint8_t *CDC_GetRxBuffer();
    uint8_t *CDC_GetTxBuffer();
    void CDC_RecvComplete(uint16_t size);
    void OsTaskStartRun(void);

#ifdef __cplusplus
}
#endif

#endif /* OS_TASK_H_ */